package com.rw.common.pojo;

import org.springframework.data.elasticsearch.annotations.Document;

import java.util.Date;


@Document(indexName = "car_info")
public class CarInfo {
    private Integer id;

    private String name;

    private Double price;

    private Double distance;

    private Date firstUpTime;

    private Date yearCheckTime;

    private Date periodTime;

    private String lookAddress;

    private String carYear;

    private Integer cid;

    private String carDesc;

    private Double carItemSize;

    private Double carWheelSize;

    private String carResouce;

    private String carType;
    private String photo;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getDistance() {
        return distance;
    }

    public void setDistance(Double distance) {
        this.distance = distance;
    }

    public Date getFirstUpTime() {
        return firstUpTime;
    }

    public void setFirstUpTime(Date firstUpTime) {
        this.firstUpTime = firstUpTime;
    }

    public Date getYearCheckTime() {
        return yearCheckTime;
    }

    public void setYearCheckTime(Date yearCheckTime) {
        this.yearCheckTime = yearCheckTime;
    }

    public Date getPeriodTime() {
        return periodTime;
    }

    public void setPeriodTime(Date periodTime) {
        this.periodTime = periodTime;
    }

    public String getLookAddress() {
        return lookAddress;
    }

    public void setLookAddress(String lookAddress) {
        this.lookAddress = lookAddress == null ? null : lookAddress.trim();
    }

    public String getCarYear() {
        return carYear;
    }

    public void setCarYear(String carYear) {
        this.carYear = carYear == null ? null : carYear.trim();
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getCarDesc() {
        return carDesc;
    }

    public void setCarDesc(String carDesc) {
        this.carDesc = carDesc == null ? null : carDesc.trim();
    }

    public Double getCarItemSize() {
        return carItemSize;
    }

    public void setCarItemSize(Double carItemSize) {
        this.carItemSize = carItemSize;
    }

    public Double getCarWheelSize() {
        return carWheelSize;
    }

    public void setCarWheelSize(Double carWheelSize) {
        this.carWheelSize = carWheelSize;
    }

    public String getCarResouce() {
        return carResouce;
    }

    public void setCarResouce(String carResouce) {
        this.carResouce = carResouce == null ? null : carResouce.trim();
    }

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType == null ? null : carType.trim();
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }
}
